import websocket
WSURL='wss://real.okex.com:10441/websocket'
websocket.enableTrace(True)

ws=websocket.WebSocketApp(WSURL)
print(ws.send("{'event':'addChannel','channel':'ok_sub_spot_bch_btc_ticker' }"))